package tut.collection.dataStructure.compareableVsComparator;

public class Abs implements Comparable<Abs> {
	public int a;
	public Abs(int a){
		this.a = a;
	}

	public int compareTo(Abs o) {
		return Math.abs(this.a) - Math.abs(o.a);
	}

}